package com.mstore.pojo;

public class ExchangeGood {

	private Long id;

	/**
	 * 商品名称
	 */
	private String goodname;

	/**
	 * 企业id
	 */
	private Long eaId;

	/**
	 * 店铺id
	 */
	private Long shopId;

	/**
	 * 积分
	 */
	private Double score;

	/**
	 * 商品数量（库存）
	 */
	private Integer amount;

	/**
	 * 创建时间
	 */
	private String createTime;

	/**
	 * 兑换次数 一个会员可以兑换该商品的次数,0表示可无限次兑换
	 */
	private Integer exchangeAmount;

	/***** 业务字段 ****/
	private Shop shop;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getGoodname() {
		return goodname;
	}

	public void setGoodname(String goodname) {
		this.goodname = goodname;
	}

	public Long getEaId() {
		return eaId;
	}

	public void setEaId(Long eaId) {
		this.eaId = eaId;
	}

	public Long getShopId() {
		return shopId;
	}

	public void setShopId(Long shopId) {
		this.shopId = shopId;
	}

	public Double getScore() {
		return score;
	}

	public void setScore(Double score) {
		this.score = score;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Shop getShop() {
		return shop;
	}

	public void setShop(Shop shop) {
		this.shop = shop;
	}

	public Integer getExchangeAmount() {
		return exchangeAmount;
	}

	public void setExchangeAmount(Integer exchangeAmount) {
		this.exchangeAmount = exchangeAmount;
	}

}
